package secondStage.part2.接口.four;

/**
 * @ClassName: [PingPangPlayer]
 * @Description:
 * @Author: [黄劲松]
 * @CreateDate: [2021-03-14]
 * @Version: [v1.0]
 */
public class PingPangPlayer extends Player implements SpeakEnglis {
    public PingPangPlayer() {
    }

    public PingPangPlayer(String name, int age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println("乒乓球运动员学习乒乓球技巧");
    }

    @Override
    public void eat() {
        System.out.println("乒乓球运动员吃午饭");
    }

    @Override
    public void speak() {
        System.out.println("乒乓球运动员说英语");
    }
}
